package com.example.course.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 班级分配数据传输对象，用于分配学生到班级
 *
 * @author Jasmine-drs
 * @date 2025/4/22 16:30
 */
@Data
@ApiModel(value = "ClassAssignDTO", description = "班级分配数据传输对象")
public class ClassAssignDTO {

	@NotNull(message = "班级ID不能为空")
	@ApiModelProperty(value = "班级ID", required = true)
	private Integer classesId;
} 